package com.hsmpay.mobile.dao.trans;

import com.hsmpay.common.dao.BaseDao;
import com.hsmpay.mobile.pojo.trans.TransPriorSettle;

import java.io.Serializable;
import java.sql.SQLException;

/**
 * 结算前收款交易记录 sqlmap 接口 transPriorSettleDao
 * 对应pojo TransPriorSettle
 *
 * @author 颜铃璋
 *         创建时间：2013-1-22
 */
public interface TransPriorSettleDao<Entity extends Serializable, Query extends Object> extends BaseDao<Entity, Query> {
    /**
     * 查询交易 收款信息
     *
     * @param terminalId
     * @param merchantOrderId
     * @return
     * @throws SQLException
     */
    public TransPriorSettle searchTransPriorSettle(String terminalId, String merchantOrderId) throws SQLException;
}
